<html>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <f:view>
        <head>
            <title><h:outputText value="#{msgs.title}"/></title>
        </head>
        <body>
            <h:form>
                <p>
                    <h:outputText value="#{msgs.correct}"/>
                    <h:outputFormat value="#{msgs.score}">
                        <f:param value="#{quiz.score}"/>
                    </h:outputFormat>
                </p>
                <p>Here is your next problem.</p>
                <p>
                    <h:outputText value="#{quiz.question}"/>
                </p>
                <p>
                    <h:inputText value="#{quiz.response}"/>
                </p>
                <p>
                    <h:commandButton value="#{msgs.answerButton}" action="#{quiz.answerAction}"/>
                </p>
            </h:form>
        </body>
    </f:view>
</html>
